package ${entity_package_name};

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.lang.*;
import java.util.*;
import java.math.*;
import java.sql.*;

/**
* 描述： ${table_annotation} 实体类
* @author ${author}
* @date ${date}
*/

@TableName("${table_name_small}")
public class ${table_name}  {
    <#if model_column?exists>
        <#list model_column as model>
    /**
    *${model.columnComment!}
    */
    @TableField(value = "${model.changeColumnName}")
    private ${model.columnType} ${model.changeColumnName?uncap_first};
        </#list>
    </#if>

<#if model_column?exists>
	<#list model_column as model>
    public ${model.columnType} get${model.changeColumnName}() {
        return this.${model.changeColumnName?uncap_first};
    }
	<#if model.columnType ="String">
    public void set${model.changeColumnName}(${model.columnType} ${model.changeColumnName?uncap_first}) {
        this.${model.changeColumnName?uncap_first} = ${model.changeColumnName?uncap_first}==null?null:${model.changeColumnName?uncap_first}.trim();
    }
    <#else>
     public void set${model.changeColumnName}(${model.columnType} ${model.changeColumnName?uncap_first}) {
        this.${model.changeColumnName?uncap_first} = ${model.changeColumnName?uncap_first};
    }
    </#if>
	</#list>
</#if>
}